package com.beyond.generate.service;

import com.beyond.generate.entity.def.ColumnType;

import java.util.List;
import java.util.Map;

/**
 * @author zhangyan
 */
public interface SysGeneratorService {

    List<Map<String, Object>> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    Map<String, String> queryTable(String tableName);

    List<Map<String, String>> queryColumns(String tableName);

    /**
     * 生成代码
     */
    void generatorCode(String[] tableNames);

    List<ColumnType> queryColumnType(Map<String, Object> paramsMap);

    Map<String, String> queryTableColumn();
}
